package com.company.cloud.goodsrestservice.model;

import javax.persistence.*;

@Table(name = "relation_goods_picture")
public class GoodsPictureRel {
    @Id
    @Column(name = "goods_id")
    private Integer goodsId;

    @Column(name = "picture_id")
    private Integer pictureId;

    /**
     * @return goods_id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * @return picture_id
     */
    public Integer getPictureId() {
        return pictureId;
    }

    /**
     * @param pictureId
     */
    public void setPictureId(Integer pictureId) {
        this.pictureId = pictureId;
    }
}